package com.lechuang.ssgou.view.defineView;

import android.content.Context;
import android.support.v4.widget.NestedScrollView;
import android.util.AttributeSet;
import android.view.MotionEvent;

/**
 * 作者：li on 2017/11/13 17:06
 * 邮箱：961567115@qq.com
 * 修改备注:
 */
public class MNestscrollVeiw extends NestedScrollView {
    public MNestscrollVeiw(Context context) {
        super(context);
    }

    public MNestscrollVeiw(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MNestscrollVeiw(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }


    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        int expanSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
                MeasureSpec.AT_MOST);
        super.onMeasure(widthMeasureSpec, expanSpec);
    }

}
